# -*- coding: utf-8 -*-
from dream_include.global_func import *
from dream_class.ConnDb import OpenDb

db = OpenDb()
# 读取表，循环等到所有学校中文内容
school_dict = db.select_data('nisshinkyo_area_list', field='area_id,area_name,area_name_cn', condition="isdeleted=0 ORDER BY area_id ASC LIMIT 10")
for cur_school in school_dict:
    print(cur_school)



# 关闭数据库连接
db.close_connection()
